package com.zy.mc_module.mvp.bean;

import java.util.List;

/**
 * 文 件 名：InvitationBean
 * 描    述：
 * 作    者：chenhao
 * 时    间：19/10/11
 * 版    权：v1.0
 */
public class InvitationBean {

    public static final int Fist = 1001;//每成功邀请好友
    public static final int Second = 1002;//共享有礼
    public static final int Third = 1003;//我的邀请战绩
    public static final int Fourth = 1004;//热门积分兑换
    public static final int Fifth = 1005;//邀请排行榜

    public int itemType;

    public FirstBean firstBean;
    public SecondBean secondBean;
    public ThirdBean thirdBean;
    public List<InviteInfoBean.InviteUserInfosBean> fifthBeanList;

    public InvitationBean(int itemType) {
        this.itemType = itemType;
    }

    /***
     * 每成功邀请好友
     */
    public static class FirstBean {
        public String title;
        public String youNum;
        public String youType;
        public String friendNum;
        public String friendType;
    }
    /***
     * 共享有礼
     */
    public static class SecondBean {
        public String img;
    }
    /***
     * 我的邀请战绩
     */
    public static class ThirdBean {
        public String title;
        public String successInvateNum;
        public String reward;
    }
    /***
     * 热门积分兑换
     */
    public static class FourthBean {
        public String title;
        public String img;
        public String name;
    }
    /***
     * 邀请排行榜
     */
    public static class FifthBean {
        public String title;
        public String ranking;
        public String userName;
        public String invateNum;
    }

    public static class InviteInfoBean {

        public boolean flagPersonRewards;
        public double personalRewardsIntegral;
        public boolean flagFriendRewards;
        public double friendRewardsIntegral;
        public int inviteUserNumber;
        public double totalRewardsIntegral;
        public String inviteEndTime;
        public List<InviteUserInfosBean> inviteUserInfos;

        public static class InviteUserInfosBean {

            public Object userId;
            public String phone;
            public int cumulativeInviteUser;
            public String invitTime;
            public String inviteRewards;
            public String integralTypeName;
        }
    }

    public static class InvitationInfoBean {

        public int userId;
        public String headImg;
        public String nickname;
        public String inviteCode;
        public String userName;
        public String name;
        public String userLevelId;
        public String userLevelName;//MVP会员
        public String referenceIdentityNo;
        public String referenceIdentity;//生态合作人
        public boolean flagInviteUser;

    }
}
